<?php
error_reporting(E_ALL);
require_once "news/MyProxy.php";
require_once "news/MyNews.php";
require_once "news/NewsAspect.php";

$newsAsp = new NewsAspect();
$newsAsp->setPointCut("/^edit.*/i");

$proxy = new MyProxy(new MyNews(),$newsAsp);

$proxy->editNews(123);
//$proxy->getNews(123);